/*
 * Copyright (C) 2010 The MobileSecurePay Project
 * All right reserved.
 * author: shiqun.shi@alipay.com
 */

package com.alipay.android.appDemo4;

import java.util.ArrayList;

/**
 * demo展示商品列表的商品信息
 *
 */
public final class Products {
	
	public class ProductDetail {
		public String subject;
		public String body;
		public String price;
		int resId;
	}

	ArrayList<Products.ProductDetail> mproductlist = new ArrayList<Products.ProductDetail>();

	public ArrayList<Products.ProductDetail> retrieveProductInfo() {
		ProductDetail productDetail = null;

		//
		// x < 50
		productDetail = new ProductDetail();
		productDetail.subject = "1";
		productDetail.body = "测试充值";
		productDetail.price = "一口价:0.01";
		productDetail.resId = 30;
		mproductlist.add(productDetail);
		
		productDetail = new ProductDetail();
		productDetail.subject = "2";
		productDetail.body = "测试充值2";
		productDetail.price = "一口价:0.02";
		productDetail.resId = 30;
		mproductlist.add(productDetail);



		return mproductlist;
	}
}
